x86/altp2m: Add a hvmop for setting the suppress #VE bit
authorAdrian Pop <apop@bitdefender.com>
Wed, 12 Sep 2018 07:50:05 +0000 (10:50 +0300)
committerWei Liu <wei.liu2@citrix.com>
Wed, 19 Sep 2018 17:07:31 +0000 (18:07 +0100)
commite4405e0799ba20282124cca0410005856af787a6
tree2005888a7fb84f4cd99aa506c94dc26f38986d59
parent0cc1283094ad8eb6d6e6e3dee12996009b751446
x86/altp2m: Add a hvmop for setting the suppress #VE bit

Introduce a new hvmop, HVMOP_altp2m_set_suppress_ve, which allows a
domain to change the value of the #VE suppress bit for a page.

Add a libxc wrapper for invoking this hvmop.

Signed-off-by: Adrian Pop <apop@bitdefender.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
tools/libxc/include/xenctrl.h
tools/libxc/xc_altp2m.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/mm/mem_access.c
xen/include/public/hvm/hvm_op.h
xen/include/xen/mem_access.h